home *** CD-ROM | disk | FTP | other *** search
/ Workplace Effectiveness:…ecision-Making Strategies / Workplace Effectiveness: Decision-Making Strategies.iso / pc / Files / Reach4.dxr / 00003_Navigation handlers.ls < prev    next >
Encoding:
Text File  |  1998-12-16  |  968 b   |  51 lines

  1. global gMasterData, gSection
  2.  
  3. on goIntro
  4.   go(label("intro"))
  5.   set gSection to #intro
  6.   goNarrator(gMasterData, "32")
  7. end
  8.  
  9. on go1
  10.   go(label("1"))
  11.   set gSection to 1
  12.   goNarrator(gMasterData, "33")
  13. end
  14.  
  15. on go2
  16.   go(label("2"))
  17.   set gSection to 2
  18.   goNarrator(gMasterData, "34")
  19. end
  20.  
  21. on go3
  22.   go(label("3"))
  23.   set gSection to 3
  24.   goNarrator(gMasterData, "36")
  25.   if not activationOn(gMasterData) then
  26.     activate(gMasterData)
  27.   end if
  28. end
  29.  
  30. on go4
  31.   go(label("4"))
  32.   set gSection to 4
  33.   fillinField()
  34.   goNarrator(gMasterData, "38")
  35. end
  36.  
  37. on clickDone
  38.   go("go on")
  39.   goNarrator(gMasterData, "37")
  40.   set gSection to #clickDone
  41. end
  42.  
  43. on fillinField
  44.   set vText to EMPTY
  45.   put the text of member "brain Field 1" of castLib "Shared" & RETURN & RETURN after vText
  46.   repeat with X = 2 to 6
  47.     put the text of member ("brain Field" && string(X)) of castLib "Shared" & RETURN after vText
  48.   end repeat
  49.   set the text of member "brain Field 7" of castLib "Shared" to vText
  50. end
  51.